RKC SR Mini HG communication driver

 

RKC SR Mini HG is standard driver to communicate with multi point control system of RKC Instrument in Japan.

 

Reference) Communication setting for RKC MA900/901 device

 

1. Read settings

 

<Figure 1> is read setting example of RKC SR Mini HG communication driver.

<Figure 1> Read setting example of RKC SR Mini HG communication driver

Device part of <Figure 1> input Device type(COM1), Com Baud(9600), Parity Bit(0), Data Bit(8), Stop Bit(1), respectively, according to controller settings.

In case of directly connecting control panel to control unit, set '0' at option part of communication setting. And in case of doing not direct connection, enter as '1'.

 

RKC SR Mini HG communication driver's read schedule

Read schedule setting parameters are as follows:

1) STATION : STATION number which is set at controller(0000~9999).

A number in the thousands, a number in the hundreds : Panel number.

A number in the tens, a number in the one digit : Unit number.

2) Read Type : Input memory type. Refer to <Table 1> or SR Mini HG system manual.

3) Read Start Address : Don't care.

4) Save Start Address for Communication Server : Readed data saving start address of communication server.

5) Read Size : Read size. Fixed according to memory type.

 

Read schedule example)

READ STATION Read Type Read Start Address Memory Save Address Read Size
(Fixed to 1)
READ, 1, M1 0, 0, 1
READ, 1, AA 0, 10, 1
READ, 1, AB 0, 20, 1
FLOAT, 1, S1, 0, 0, 1,
FLOAT, 1, P1, 0, 10, 1,

SR Mini HG system controller's each memory area size is fixed according to system settings.

<Table 1> is part of memory area possible to be used at RKC SR Mini HG system protocol.

Area Data Type Remarks
M1 Measured Value : PV Read Only
AA, AB Alarm 1, 2 Status 0:OFF, 1:ON, Read Only
B1 Burnout
ER Error Code 0 ~ 255, Read Only
SR RUN/STOP Function 0:OFF, 1:ON, Read/Write
S1 Set value(SV) SV Setting Value, Read/Write
A1, A2 Alarm 1, 2 Setting Read/Write
P1 Heat-side proportional band
I1 Integral time 1~3600 sec(0:PD control), Read/Write
D1 Derivative time 1~3600 sec(0:PI control), Read/Write
T0 Heat-side proportioning cycle 1~100 sec, Read/Write
P2 Cool-side proportioning band 1~1000% sec, Read/Write
V1 Deadband Temp Input :-10~10, Read/Write
T1 Cool-side proportioning cycle 1~100 sec, Read/Write
<Table 1> Part of memory area possible to be used at RKC SR Mini HG system protocol(Refer to manual which is offered by RKC about detailed area type)
2. Write settings

Write to direct address of controller, regardless of SCAN File.

 

Digital Write

Digital write setting parameters are as follows :

1) PORT           Connected PORT number(0 ~ 255)

2) Station         Station number        0000 ~ 9999.

A number in the thousands, a number in the hundreds : Panel number.

A number in the tens, a number in the one digit : Unit number.

3) ADDRESS    Channel number              1 ~

4) Extra1          Memory area         Refer to <Table 1> or SR Mini HG system manual.

5) Extra2          Channel classification              Enter 100 to memory(SR, IN memory etc) without channel classification, enter 1 in case of digital output memory(Q4 etc).

 

Write example 1)

Port:0, Station:1, Address:0000, Extra1:SR, Extra2:100

The setting parameter shown above is example for RUN/STOP the RKC SR Mini HG controller.

 

Write example 2)

Port:0, Station:1, Address:0001, Extra1:J1, Extra2:0

The setting parameter shown above is example for changing Auto/Manual transfer status of 1 channel of RKC SR Mini HG controller.

 

Analog Write

Analog write setting parameters are as follows :

1) PORT           Connected PORT number(0 ~ 255)

2) Station         Station number        0000 ~ 9999.

A number in the thousands, a number in the hundreds : Panel number.

A number in the tens, a number in the one digit : Unit number.

3) ADDRESS    Channel number              1 ~

4) Extra1          Memory area         Refer to <Table 2> or SR Mini HG system manual.

5) Extra2          Channel, all and the number of digits of decimal point

3 digits number : 1 = Memory without channel classification(SR, IN etc), 0 = Channel classification memory(MI, S1 etc).

2 digits number : 1 = Memory which outputs as 1 digit(AA, AB etc), 0 = Memory which outputs as 6 digits(S1, P1, P2 etc).

1 digit number : 0 = Memory without decimal point(AA, AB etc), 1 = Memory for 1 digit of decimal point(ON, V1 etc), 2 = Memory for 2 digit of decimal point(PB etc), 3 = Memory for 3 digit of decimal point(KG etc).

 

Write example 1)

Port:0, Station:1, Address:0003, Extra1:S1, Extra2:1

The setting parameter shown above is setting SV value example for 3 channel RKC SR Mini HG controller.

 

Write example 2)

Port:0, Station:1, Address:0002, Extra1:I1, Extra2:0

The setting parameter shown above is setting Integral time example for 2 channel RKC SR Mini HG controller.